package cn.liccshop.core.service.shopTransaction.service;

import cn.liccshop.core.entity.ShopTransaction;
import cn.liccshop.sys.exception.MySystemException;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 交易信息表 服务类
 * </p>
 *
 * @author LiCC
 * @since 2019-05-26
 */
public interface IShopTransactionService extends IService<ShopTransaction> {

    /**
     * 获取性别的交易数据
     * @return
     */
    Map<String, Object> transactionVChartsInfoBySex();

    /**
     * 退款操作
     * @return
     */
    Map<String, Object> transactionReturnById(String id) throws MySystemException;
}
